package com.zj.config;

import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.context.annotation.*;

import javax.sql.DataSource;

@Configuration //设定当前类为配置类
@ComponentScan("com.zj") //注解扫描设置路径
@PropertySource("jdbc.properties") //加载外部 资源文件
@Import(JdbcConfig.class)
public class SpringConfig {


}
